<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="renderer" content="webkit">
    <title></title>
    <meta name="csrf-token" content="{{ csrf_token() }}">
    @section('header')
    <link rel="stylesheet" href="{{ asset('vaeyo/layui/css/layui.css') }}"  media="all">
    @show
</head>
<style>
    html{
        height: 100%;
    }
    div{
        -moz-box-sizing: border-box;  /*Firefox3.5+*/
        -webkit-box-sizing: border-box; /*Safari3.2+*/
        -o-box-sizing: border-box; /*Opera9.6*/
        -ms-box-sizing: border-box; /*IE8*/
        box-sizing: border-box; /*W3C标准(IE9+，Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/
    }
</style>
<body style="padding:0 10px">
@yield('content')
</body>
@section('footer')
    <script type="text/javascript">
        var VAEYO_ROOT = "{{ asset('vaeyo')  }}";
    </script>
    <script src="{{ asset('xman/layui/layui.js') }}" charset="utf-8"></script>
    <script type="text/javascript">
        var $;
        layui.config({
            version:20181221
        }).use(['jquery'],function () {
            $ = layui.jquery;
            //延迟加载commonjs
            var commonJs = document.createElement('script');
            commonJs.type = 'text/javascript';
            commonJs.src = '{{ asset('js/common.js') }}';
            var body = document.getElementsByTagName('body')[0];
            body.appendChild(commonJs);
        })
    </script>
    {{--<script type="text/javascript" src="{{ asset('js/common.js') }}" charset="utf-8"></script>--}}
@show
</html>